package com.rizzo.web.util.domain;

/**
 * Enum to represent several file encodings.
 * See http://www.iana.org/assignments/character-sets for more details.
 *
 * @author Jan Lievens
 */
public enum FileEncodingEnum {

    FILE_ENCODING_UTF8("UTF-8");

    private String fileEncoding;

    /**
     * Default constructor.
     *
     * @param fileEncoding A String representation of the fileEncoding.
     */
    FileEncodingEnum(String fileEncoding) {
        this.fileEncoding = fileEncoding;
    }

    /**
     * Method getFileEncoding returns the fileEncoding of this FileEncodingEnum object.
     *
     * @return the fileEncoding (type String) of this FileEncodingEnum object.
     */
    public String getFileEncoding() {
        return fileEncoding;
    }
}